package com.jwsoft.manager.common.enums;
/**
 * @author chenzh
 * @date 2022-03-10
 * @description
 **/
public enum EnrollReviewStatusFormalEnum {
    cs("1", "初审"),
    fs("2", "复审"),
    ;

    private String type;
    private String name;

    EnrollReviewStatusFormalEnum(String type, String name) {
        this.type = type;
        this.name = name;
    }

    public String getType() {
        return this.type;
    }

    public String getName() {
        return this.name;
    }

    public static EnrollReviewStatusFormalEnum getByType(String type) {

        for (EnrollReviewStatusFormalEnum typeEnum : values()) {
            if (typeEnum.getType().equals(type)) {
                return typeEnum;
            }
        }
        return null;
    }
}
